<?php namespace Phpcmf\Controllers\Admin;

class Config extends \Phpcmf\App
{

    public function index() {


        $this->_module_init(APP_DIR);
        if (!$this->module['form']['son']) {
            $this->_admin_msg(0, '没有安装服务模块表单');
        }

        dr_redirect(dr_url('mform/module/form_edit', ['dir' => 'quan', 'id' => $this->module['form']['son']['id']]));

    }

}
